#pragma warning(disable:4996)
#include<stdio.h>
#include<math.h>
int main()
{
//对一个正整数进行质数分解
	int num;
	printf("请输入一个正整数");
	scanf("%d", &num);
	printf("%d=", num);
	for (int i = 2; i <= num; i++)
	{
		while (0 == num % i)
		{
			printf("%d",i);
			num /= i;
			if (num != 1)
				printf("*");
		}
	}
	return 0;
}